package com.log.pojo;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;

@Table(name = "log_maintenace")
public class LogMaintenace {
    /**
     * 维修id
     */
    @Id
    @Column(name = "log_rep_id")
    private Integer logRepId;

    /**
     * 车辆id
     */
    @Column(name = "log_car_id")
    private Integer logCarId;

    /**
     * 维修计划
     */
    @Column(name = "log_rep_plan")
    private String logRepPlan;

    /**
     * 维修记录
     */
    @Column(name = "log_rep_record")
    private String logRepRecord;

    /**
     * 报修花费
     */
    @Column(name = "log_rep_cost")
    private Double logRepCost;

    /**
     * 报修总花费
     */
    @Column(name = "log_total_cost")
    private Double logTotalCost;

    /**
     * 报修人员
     */
    @Column(name = "`log_repair reporter`")
    private String logRepairReporter;

    /**
     * 报修时间
     */
    @Column(name = "log_report_time")
    private Date logReportTime;

    /**
     * 获取维修id
     *
     * @return log_rep_id - 维修id
     */
    public Integer getLogRepId() {
        return logRepId;
    }

    /**
     * 设置维修id
     *
     * @param logRepId 维修id
     */
    public void setLogRepId(Integer logRepId) {
        this.logRepId = logRepId;
    }

    /**
     * 获取车辆id
     *
     * @return log_car_id - 车辆id
     */
    public Integer getLogCarId() {
        return logCarId;
    }

    /**
     * 设置车辆id
     *
     * @param logCarId 车辆id
     */
    public void setLogCarId(Integer logCarId) {
        this.logCarId = logCarId;
    }

    /**
     * 获取维修计划
     *
     * @return log_rep_plan - 维修计划
     */
    public String getLogRepPlan() {
        return logRepPlan;
    }

    /**
     * 设置维修计划
     *
     * @param logRepPlan 维修计划
     */
    public void setLogRepPlan(String logRepPlan) {
        this.logRepPlan = logRepPlan;
    }

    /**
     * 获取维修记录
     *
     * @return log_rep_record - 维修记录
     */
    public String getLogRepRecord() {
        return logRepRecord;
    }

    /**
     * 设置维修记录
     *
     * @param logRepRecord 维修记录
     */
    public void setLogRepRecord(String logRepRecord) {
        this.logRepRecord = logRepRecord;
    }

    /**
     * 获取报修花费
     *
     * @return log_rep_cost - 报修花费
     */
    public Double getLogRepCost() {
        return logRepCost;
    }

    /**
     * 设置报修花费
     *
     * @param logRepCost 报修花费
     */
    public void setLogRepCost(Double logRepCost) {
        this.logRepCost = logRepCost;
    }

    /**
     * 获取报修总花费
     *
     * @return log_total_cost - 报修总花费
     */
    public Double getLogTotalCost() {
        return logTotalCost;
    }

    /**
     * 设置报修总花费
     *
     * @param logTotalCost 报修总花费
     */
    public void setLogTotalCost(Double logTotalCost) {
        this.logTotalCost = logTotalCost;
    }

    /**
     * 获取报修人员
     *
     * @return log_repair reporter - 报修人员
     */
    public String getLogRepairReporter() {
        return logRepairReporter;
    }

    /**
     * 设置报修人员
     *
     * @param logRepairReporter 报修人员
     */
    public void setLogRepairReporter(String logRepairReporter) {
        this.logRepairReporter = logRepairReporter;
    }

    /**
     * 获取报修时间
     *
     * @return log_report_time - 报修时间
     */
    public Date getLogReportTime() {
        return logReportTime;
    }

    /**
     * 设置报修时间
     *
     * @param logReportTime 报修时间
     */
    public void setLogReportTime(Date logReportTime) {
        this.logReportTime = logReportTime;
    }
}